package com.andyyan.elasticsearch.client.def.model;

import java.io.Serializable;
import java.util.List;

/**
 * Created by yantingxin on 15-11-4.
 */
public class HighlightItem implements Serializable {

    private static final long serialVersionUID = 8860821913935755545L;
    private String field;

    private String content;

    private List<Highlight> highlightList;

    public HighlightItem(){

    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public HighlightItem(String field, List<Highlight> highlightList) {
        this.field = field;
        this.highlightList = highlightList;
    }

    public String getField() {
        return field;
    }

    public void setField(String field) {
        this.field = field;
    }

    public List<Highlight> getHighlightList() {
        return highlightList;
    }

    public void setHighlightList(List<Highlight> highlightList) {
        this.highlightList = highlightList;
    }
}
